<template>
  <div id="baijia">
    <van-nav-bar left-arrow left-text="返回" @click-left="onClickLeft" fixed placeholder></van-nav-bar>
    <iframe
      src='https://nutri-camel.com/dietitian.php?ty=2'
      frameborder="0"
      width="100%"
      height="100%"
    ></iframe>
  </div>
</template>

<script>
import { my } from "@/apis/home";
import apiConfig from "../../../config/api.config";
export default {
  data() {
    return {
      apiConfig
    };
  },
  methods: {
    onClickLeft() {
      this.$router.go(-1); //返回上一层
    },
  },
  mounted() {},
};
</script>

<style lang="less">
html,
body,
.page {
  height: 100%;
  #baijia {
    width: 100vw;
    height: 100vh;
    .van-nav-bar {
    .van-nav-bar__text,
    .van-icon {
      color: #404040;
    }
  }
  }
}

iframe {
  width: 100%;
  height: 100%;
}
</style>
